﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TomNet.IMSC.Model.DbModels.Organization;

namespace TomNet.IMSC.Web.Models.ApiParams
{
    public class CustomersListModel
    {
        /// <summary>
        /// ID
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 性别 0 男 1 女
        /// </summary>
        public int Sex { get; set; }

        /// <summary>
        /// 电话集合
        /// </summary>
        public List<CustomerPhoneModel> PhoneList { get; set; }
        
    }

    public class CustomerPhoneModel
    {
        /// <summary>
        /// ID
        /// </summary>
        public int CustomerPhoneID { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

    }
}